package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.AucBidhistoryDto;

/**
 * 
 *竞价历史记录DAO 
 * 
 * @author Administrator
 *
 */
public interface AucBidhistoryDao {

	/**
	 * 
	 * 根据会员ID查询竞价历史记录
	 */
	public List<AucBidhistoryDto> findAucHistoryByAucId(int memberId,int aucMagId) throws TmsDaoException;
	
	/**
	 * 
	 * 根据竞价管理表主键ID查询最高出价记录
	 */
	public List<AucBidhistoryDto> getAucBidInfoByAucId(int aucId) throws TmsDaoException;
	/**
	 * 
	 * 会员出价记录添加
	 */
	public void saveAucHisInfoByDto(AucBidhistoryDto dto) throws TmsDaoException;
	
	/**
	 * 按最高出价排序
	 */
	public List<AucBidhistoryDto> getAucBidInfoByAucIdAndPrice(int memberId) throws TmsDaoException ;
	
	/**
	 * 批量更新竞价信息
	 */
    public void setCarBidHisttory(AucBidhistoryDto dto )throws TmsDaoException;
}

